//
//  IcMaterialsMngr.h
//  IceClear
//
//  Created by P & C on 3/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "IcMaterial.h"

// This class handles management of data related
// to Material models; it specifically builds and holds the 
// list of materials used for ice melting and their different
// characteristics

@interface IcMaterialsMngr : NSObject {
	NSMutableDictionary* allMaterials;
}

-(id)initWithDefaults;
-(void)loadAllMaterials;
-(IcMaterial *)materialNamed:(NSString *)n;
-(NSArray *)materialsGoodToUsageType:(NSUInteger)u onFacilityType:(NSUInteger)f 
					   atTemperature:(NSUInteger)t forPrecipitationType:(NSUInteger)p;
-(NSArray *)allMaterials;
-(NSArray *)allMaterialsGrouped;
-(NSArray *)someDeicingMaterials;
-(NSArray *)someAntiicingMaterials;

+(IcMaterialsMngr *)materialsManager;

@end
